<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2>{$lang224}</h2>
		<div id="public_wrap_sm">
        	<form id="login-form" name="login-form" action="{$baseurl}/login.php" method="post">
            	{if $error ne ""}
                {include file="show_error.tpl"}
                {/if}
                {if $showmessage ne ""}
                {include file="show_message.tpl"}
                {/if}
            <p>
              <label for="user_login">{$lang163}</label>
              	<input name="lusername" id="lusername" type="text" value="" size="30" />
            </p>
            <p class="add_top">
              	<label for="user_password">{$lang225}</label>
        		<input type="password" name="lpassword" value="" size="30" id="lpassword" /><br/>
            </p>              
            <p>
            	<input class="check" type="checkbox" value="yes" name="remember"> {$lang788}
            </p>
            
            <p><br /><button class="login_btn" type="submit" onclick="document.getElementById('login_type').value = 'site';">{$lang224}</button> OR <a class="fb_login" href="{$baseurl}/fbklogin.php"><img src="images/fbk-login.png" alt="Login with Facebook" title="Login with Facebook" onclick="document.getElementById('login_type').value = 'facebook';"></a></p>
			<input type="hidden" name="authenticate" value="{$lang224}" />
			<input type="hidden" name="login_type" id="login_type" value="" />
            <input type="hidden" name="redirect" value="{$smarty.request.redirect}" />
            
            <p><br /><a href="{$baseurl}/resetpassword.php">{$lang252}</a></p>
            <p><a href="{$baseurl}/forgot.php">{$lang253}</a></p>
            
          </form>
		</div>      
        <div class="clear"></div>
	</div>
</div>